<?php

require_once APPLICATION_PATH. '/forms/LoginForm.php';

class LoginController extends Zend_Controller_Action
{
    public function indexAction() 
    {      
        $form  = new Admin_Form_LoginForm();
        if ($this->_request->isPost()) 
        {
            if ($form->isValid($_POST))             
                $this->view->note =  'Da nhap day du du lieu';                     
            else             
                $this->view->note =  'Chua nhap day du du lieu';            
        }
        $this->view->form = $form;
    }
}
?>
